<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<link rel="icon" href="/favicon.ico" type="image/x-icon"/>
<title>登录-{$site("BACK_NAME")}</title>
<link href="__CSS__/base.css" rel="stylesheet"/>
<link href="__COMMON__/js/jbox/Skins/Blue/jbox.css" rel="stylesheet"/>
</head>
<body class="loginWeb">
<div class="loginBox">
 <div class="innerBox">
  <div class="logo"></div>
  <form id="form1" action="/?m=Admin&c=Index&a=index" method="post">
   <div class="loginInfo">
    <ul>
     <li class="row1">登录账号：</li>
     <li class="row2"><input class="input" name="email" id="email" size="30" type="text" /></li>
    </ul>
    <ul>
     <li class="row1">登录密码：</li>
     <li class="row2"><input class="input" name="pwd" id="pwd" size="30" type="password" /></li>
    </ul>
    <ul>
     <li class="row1">验证码：</li>
     <li class="row2">
	  <input class="input" id="verify_code" name="verify_code" type="text" style="width:100px;"/>
	  <img src="/?m=Admin&c=Index&a=vcode"  title="看不清？单击此处刷新" onclick="this.src='/?m=Admin&c=Index&a=vcode&rand='+Math.random()"  style="cursor: pointer; vertical-align: middle;"/>
	 </li>
    </ul>
   </div>
   <input type="hidden" name="op_type" id="op_type" value="1"/>
  </form>
  <div class="clear"></div>
  <div class="operation">
   <button class="btn cfz_submit">登录</button>
   <button class="btn cfz_find">忘记密码？</button>
  </div>
 </div>
</div>
<script src="__COMMON__/js/jquery/jquery-1.9.0.min.js"></script>
<script src="__COMMON__/js/jquery/jquery.migrate.js"></script>
<script src="__COMMON__/js/jquery/jquery.form.js"></script>
<script src="__COMMON__/js/jbox/jquery.jbox-2.3.min.js"></script>
<script src="__COMMON__/js/jbox/jquery.jbox-cn.js"></script>
<script src="__JS__/function.js"></script>
<script type="text/javascript">
$(function(){
	//提交登录
	$(".cfz_submit").click(function(){
		$("#op_type").val("1");
		if($("#email").val()==''||$("#pwd").val()==''||$("#verify_code").val()==''){
			$.jBox.tip('填写完整方可登陆', 'info');
			return false;
		}
		commonAjaxSubmit();
	});
	//找回密码
	$(".cfz_find").click(function(){
		$("#op_type").val("2");
		if($("#email").val()==''){
			$.jBox.tip('填写了你的邮箱方可找回密码', 'info');
			return false;
		}
		if($("#verify_code").val()==''){
			$.jBox.tip('请写验证码方可找回密码', 'info');
			return false;
		}
		commonAjaxSubmit();
	});
});
</script>
</body>
</html>